import request from '@/utils/request'

/*           sub            */
export function getRoles () {
  return request({
    url: '/staff/getRoles',
    method: 'get'
  })
}

export function getStaffs () {
  return request({
    url: '/staff/getStaffs',
    method: 'get'
  })
}

export function updateStaff (data) {
  return request({
    url: '/staff/updateStaff',
    method: 'post',
    data
  })
}
